import { State } from "@/store/index";
import { Getter, GetterTree } from "vuex";

const getters: GetterTree<State, any> = {
    getToken(state) {
        return state.token;
      },
    getId(state){
      return state.id;
    },
    getUserInfo(state){
      return state.userInfo
    }
};
export default getters;
